package com.ops.uitl.tapestry;

import com.ops.uitl.jdbc.BaseEntity;

public class AppEntity extends BaseEntity {
	
	protected PageData pd;
	
	/**
	 * construct function
	 * @param pd
	 * @throws Exception
	 */
	public AppEntity(PageData pd) throws Exception {
		super(pd);
		this.pd = pd;
	}
	
	/**
	 * construct function
	 * @param pd
	 * @param connName
	 * @throws Exception
	 */
	public AppEntity(PageData pd, String connName) throws Exception {
		super(pd, connName);
		this.pd = pd;
	}
	
	/**
	 * construct function
	 * @param pd
	 * @param connNames
	 * @throws Exception
	 */
	public AppEntity(PageData pd, String[] connNames) throws Exception {
		super(pd, connNames);
		this.pd = pd;
	}
	
	/**
	 * construct function
	 * @param pd
	 * @param connName
	 * @param connType
	 * @throws Exception
	 */
	public AppEntity(PageData pd, String connName, String connType) throws Exception {
		super(pd, connName, connType);
		this.pd = pd;
	}
	
	/**
	 * construct function
	 * @param pd
	 * @param names
	 * @param mode
	 * @throws Exception
	 */
	public AppEntity(PageData pd, String[] names, String mode) throws Exception {
		super(pd, names, mode);
		this.pd = pd;
	}
	
	/**
	 * construct function
	 * @param pd
	 * @param names
	 * @param mode
	 * @param connColl
	 * @throws Exception
	 */
	public AppEntity(PageData pd, String[] names, String mode, String connColl) throws Exception {
		super(pd, names, mode, connColl);
		this.pd = pd;
	}
	
	/**
	 * get page data
	 * @return PageData
	 * @throws Exception
	 */
	public PageData getPageData() throws Exception {
		return (PageData) getBaseData();
	}
	
}